﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExpressionEngine
{
    /// <summary>
    /// 取值操作符
    /// </summary>
    public class ValueOperator : OperationSymbol
    {
       
        /// <summary>
        /// 取值操作符是单例
        /// </summary>
        private ValueOperator() { base.Priority = 100; }
        private static ValueOperator _instance;
        public static ValueOperator Instance
        {
            get 
            {
                if (_instance == null)
                    _instance = new ValueOperator();
              
                return _instance; 
            }
        }

        private IValueOperatorHandler _handler;

        public override Variable operate()
        {
            return null;
        }
    }
}
